if (document.getElementById){
     objXml = new XMLHttpRequest();
     objXml.open("GET","id1",false);
     objXml.send(null);
     document.getElementById('cord').innerHTML = objXml.responseText;
}